﻿package mortal.game.resource.info
{

    public class ColorInfo extends Object
    {
        public var type:String;
        public var id:String;
        private var _color:String = "#ffffff";
        private var _colorText:String;

        public function ColorInfo()
        {
            return;
        }// end function

        public function get colorText() : String
        {
            return this._colorText;
        }// end function

        public function set colorText(param1:String) : void
        {
            this._colorText = param1;
            return;
        }// end function

        public function get color() : String
        {
            return this._color;
        }// end function

        public function set color(param1:String) : void
        {
            this._color = param1;
            return;
        }// end function

        public function get intColor() : uint
        {
            return parseInt(this._color.substr(1), 16);
        }// end function

        public function set intColor(param1:uint) : void
        {
            this._color = "#" + param1.toString(16);
            return;
        }// end function

    }
}
